home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / lmhostid.z / lmhostid
Encoding:
Text File  |  2002-10-03  |  4.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. llllmmmmhhhhoooossssttttiiiidddd((((1111))))                                                        llllmmmmhhhhoooossssttttiiiidddd((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lmhostid - report the hostid of a system
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      llllmmmmhhhhoooossssttttiiiidddd [ ----_t_y_p_e ] [ ----nnnn ]
  13.  
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      llllmmmmhhhhoooossssttttiiiidddd calls the FFFFLLLLEEEEXXXXllllmmmm version of gethostid and displays the results.
  17.  
  18.      The output of llllmmmmhhhhoooossssttttiiiidddd looks like this:
  19.  
  20.      llllmmmmhhhhoooossssttttiiiidddd ---- CCCCooooppppyyyyrrrriiiigggghhhhtttt ((((CCCC)))) 1111999988889999,,,, 1111999999990000 HHHHiiiigggghhhhllllaaaannnndddd SSSSooooffffttttwwwwaaaarrrreeee,,,, IIIInnnncccc....
  21.      TTTThhhheeee FFFFLLLLEEEEXXXXllllmmmm hhhhoooosssstttt IIIIDDDD ooooffff tttthhhhiiiissss mmmmaaaacccchhhhiiiinnnneeee iiiissss """"1111222200000000aaaabbbbccccdddd""""
  22.  
  23. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  24.      ----nnnn        Prints the hostid without explanatory header.
  25.  
  26.      -_t_y_p_e     This depends on the platform.  On most platforms, there's only
  27.                one hostid type, so there's no applicable -_t_y_p_e. On hp700,
  28.                there's 2 types of hostids; FLEXlm defaults to the _u_n_a_m_e -_i
  29.                hostid, but the /etc/lanscan ethernet hostid is available via
  30.                ----eeeetttthhhheeeerrrr. SCO has 2 hostids available.  The current default is
  31.                uname -x as a string.  For historical reasons, a version of
  32.                this hostid as hex number is available with -lllloooonnnngggg argument,
  33.                which should only be used with older FLEXlm-based applications.
  34.  
  35.      ----eeeetttthhhheeeerrrr    (only on HP machines) specifies that the ethernet hostid should
  36.                be used rather than the uname -i hostid.
  37.  
  38.      ----lllloooonnnngggg     (On SCO machines) On SCO, this specifies that the serial number
  39.                should have leading characters stripped, and converted to a
  40.                32-bit long int.
  41.  
  42.      Here's how to determine the hostid on many support systems.
  43.  
  44.      Architecture   Host ID          How to Determine
  45.      ______________________________________________________________________
  46.      Apollo         20-bit node ID   _l_c_n_o_d_e -_m_e, e.g., BE70
  47.      Convex         32-bit hostid    _g_e_t_s_y_s_i_n_f_o
  48.      Decstation     ethernet address  _a_r_p _h_o_s_t_n_a_m_e, e.g., 080020005532
  49.      DG aviion 32-bit hostid    /_u_s_r/_s_b_i_n/_s_y_s_t_e_m_i_d, e.g., 0c020972
  50.      HP        32-bit dec hostid _u_n_a_m_e -_i, e.g., 2005771344
  51.                _i_d _m_o_d_u_l_e   read ID typed on module, remove `A',
  52.                            and convert remainder to hex,
  53.                            e.g.,   0c127532
  54.                ethernet    _l_a_n_s_c_a_n (use station address
  55.                            without leading _0_x),
  56.                            e.g., 0000F0050185
  57.      Mips      32-bit hostid    _h_w_c_o_n_f
  58.      Motorola 88K   32-bit hostid    _l_m_h_o_s_t_i_d
  59.      NeXT      32-bit hostid    _h_o_s_t_i_d
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. llllmmmmhhhhoooossssttttiiiidddd((((1111))))                                                        llllmmmmhhhhoooossssttttiiiidddd((((1111))))
  71.  
  72.  
  73.  
  74.      RS/6000        32-bit hostid    _u_n_a_m_e -_m, remove last 2 digits,
  75.                            use remaining last 8 digits
  76.                            e.g., 12345678
  77.      SCO       "ID_STRING="     _u_n_a_m_e -_X, 'Serial =', e.g., sco003514
  78.                32-bit hostid    same, but remove leading characters,
  79.                            e.g., 3514
  80.      SGI       32-bit hostid    _e_c_h_o `/_e_t_c/_s_y_s_i_n_f_o -_s` _1_6_o _p | _d_c
  81.      SUN       32-bit hostid    _h_o_s_t_i_d, e.g., 170a3472
  82.      VMS       ethernet    _a_r_p _h_o_s_t_n_a_m_e, e.g., 080020005532
  83.  
  84.  
  85. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  86.      llllmmmmuuuuttttiiiillll(1).
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.